package com.itheima.sh.d_HomeWork;

public class homework02_1 {
    public static void main(String[] args) {
        //1.定义变量
        char s = 'h';
        //2.判断
        if ((s >= 'a' && s <= 'z') || (s >= 'A' && s <= 'Z')) {
            System.out.println(s+"是字母字符");
        }else{
            System.out.println(s+"不是字母字符");
        }

    }
}
